const arr = ['asdf', 'hello', 'helloworld', 'jack'];
const array = arr.filter( v => v.length > 6)
console.log('array:' + array);